const mongoose = require('./db');

// 定义一个表的字段和字段类型
const userShema = new mongoose.Schema({
     nickname: String,
     email: String,
     password: String,
     repeatPassword: String,
     token: String
})

const user = mongoose.model('user',userShema);

module.exports = user;